

var UserManager = {
	
	userStore : {},
	
	selectedUserId:null,
	
	selectedUserItem:null,
	
	allUsers:{
		items:[
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"},
				{userID:"<a class='userlink' href='userInfo.html'>110</a>",
				userName:"陈晨", joinDate:"2009-04-15", isVip:"是", amount:"150",  
				liveUp:"<input type='button' value='升为VIP'></input>"}
				
			]
	},
	loadAllUsers:function(){
		
		UserManager.userStore = new dojo.data.ItemFileWriteStore({data: UserManager.allUsers});
		dijit.byId("userGrid").setStore(UserManager.userStore);
		
	}
	
	
	
	
};
